// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_atom;

import com.nnee.p_f.cls_b;
import java.util.Iterator;
import java.util.List;

// Referenced classes of package com.nnee.p_pr.p_atom:
//            k, v, t

public class cls_f extends cls_b
{

    public cls_f()
    {
        super("pris:mblog_extra");
    }

    private String h(String s)
    {
        List list = d("link");
        if(list == null) goto _L2; else goto _L1
_L1:
        Iterator iterator = list.iterator();
_L5:
        if(!iterator.hasNext()) goto _L2; else goto _L3
_L3:
        cls_b b1 = (cls_b)iterator.next();
        if(!s.equals(b1.a("rel"))) goto _L5; else goto _L4
_L4:
        String s1 = b1.a("href");
_L7:
        return s1;
_L2:
        s1 = null;
        if(true) goto _L7; else goto _L6
_L6:
    }

    public cls_b a(String s, String s1)
    {
        Object obj = new cls_b(s, s1);
        if(s != null) goto _L2; else goto _L1
_L1:
        if(s1 != null)
            ((b) (obj)).g(s1);
        return d(((b) (obj)));
_L2:
        if(s.equals("pris:favorite"))
        {
            a = new cls_k();
            obj = a;
        } else
        if(s.equals("pris:assess"))
        {
            b = new cls_v();
            obj = b;
        }
        if(true) goto _L1; else goto _L3
_L3:
    }

    public final t a()
    {
        cls_t t1;
        if(a != null)
            t1 = a.c();
        else
            t1 = com.nnee.p_pr.p_atom.t.b;
        return t1;
    }

    public final boolean b()
    {
        boolean flag;
        if(a != null)
            flag = a.d();
        else
            flag = false;
        return flag;
    }

    public int c()
    {
        int i;
        if(b != null)
            i = b.c();
        else
            i = 120;
        return i;
    }

    public int d()
    {
        int i;
        if(b != null)
            i = b.e();
        else
            i = 0;
        return i;
    }

    public String e()
    {
        String s;
        if(b != null)
            s = b.a();
        else
            s = null;
        return s;
    }

    public String f()
    {
        return h("mblog_addfavorite");
    }

    public String g()
    {
        return h("mblog_delfavorite");
    }

    public String h()
    {
        return h("mblog_repost");
    }

    k a;
    v b;
}
